home *** CD-ROM | disk | FTP | other *** search
/ Products & Services for NeXT / Products & Services for NeXT.iso / AlembicDemo.app / ScriptWriter / CommandGroups / Comparing.cmdgrp (.txt) < prev    next >
Encoding:
NeXT TypedStream Data  |  1993-07-21  |  76.2 KB  |  727 lines

  1. typedstream
  2. CommandGroup
  3. Object
  4.     Comparing
  5. [10@]
  6. Command
  7. NXImage
  8. NXCachedImageRep
  9. NXImageRep
  10. iisssss00
  11. iiiiii00
  12. [4608c]T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  13. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  14. T_U_T_
  15. UOT_U_
  16. U_UOT_U_
  17. T_U_U_
  18. U_T_U_T_
  19. eoU_T_f_eoDO
  20. U_T_U_T_
  21. U_U_U_U_
  22. e_U_e_
  23. UOT_U_
  24. UOU_U_T_U_U_U_
  25. UOU_U_e_UOe_
  26. e_UOe_
  27. T_U_U_
  28. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  29. TOU_e_V_
  30. U_U_UO
  31. e_UOe_
  32. U_U_U_U_
  33. U_U_U_e_U_
  34. EOT_U_T_U_T_
  35. U_UOeoU_
  36. T_U_U_U_
  37. T_V_T_
  38. e_UOe_EOeo
  39. eoU_T_
  40. T_EOe_UOT_U_
  41. UOU_U_
  42. T_V_U_U_eoUO
  43. U_U_e_
  44. UOU_UOe_
  45. Uoeofoe
  46. Voeofo
  47. foeofof
  48. foeoVof
  49. VoUofo
  50. VoUoVoUoVoUo
  51. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  52. NXBitmapImageRep
  53. [576c]UUUUUUUUUUU@
  54. UUUUU_
  55. uUUUUT=
  56. ]UE_/
  57. WUQ_/
  58. TqW_/
  59. UUUUUUUUUUX
  60. compare two files
  61. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  62. \margl40
  63. \margr40
  64. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The two files are compared. (If file1 is `-', the standard input is used.) Under default options, cmp makes no comment if the files are the same; if they differ, it announces the byte and line number at which the difference occurred. If one file is an initial subsequence of the other, that fact is noted.
  65. CommandOption
  66. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  67. \margl40
  68. \margr40
  69. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Print the byte number (decimal) and the differing bytes (octal) for each difference
  70. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  71. \margl40
  72. \margr40
  73. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Print nothing for differing files; return codes only
  74. CommandArgument
  75. file1
  76. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  77. \margl40
  78. \margr40
  79. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The first file to be compared
  80. file2
  81. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  82. \margl40
  83. \margr40
  84. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The second file to be compared
  85. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  86. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  87. T_U_T_
  88. UOT_U_
  89. U_UOT_U_
  90. T_U_U_
  91. U_T_U_T_
  92. eoU_T_f_eoDO
  93. U_T_U_T_
  94. U_U_U_U_
  95. e_U_e_
  96. UOT_U_
  97. UOU_U_T_U_U_U_
  98. UOU_U_e_UOe_
  99. e_UOe_
  100. T_U_U_
  101. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  102. TOU_e_V_
  103. U_U_UO
  104. e_UOe_
  105. U_U_U_U_
  106. U_U_U_e_U_
  107. EOT_U_T_U_T_
  108. U_UOeoU_
  109. T_U_U_U_
  110. T_V_T_
  111. e_UOe_EOeo
  112. eoU_T_
  113. T_EOe_UOT_U_
  114. UOU_U_
  115. T_V_U_U_eoUO
  116. U_U_e_
  117. UOU_UOe_
  118. Uoeofoe
  119. Voeofo
  120. foeofof
  121. foeoVof
  122. VoUofo
  123. VoUoVoUoVoUo
  124. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  125. UUUUUUUUUUU@
  126. UUUUU_
  127. uUUUUT=
  128. ]UE_/
  129. WUQ_/
  130. TqW_/
  131. UUUUUUUUUUX
  132. 1select or reject lines common to two sorted files
  133. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  134. \margl40
  135. \margr40
  136. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b\i0\ulnone\fs24\fc0\cf0 comm
  137. \b0  reads file1 and file2, which should be ordered in ASCII collating sequence, and produces a three column output: lines only in file1; lines only in file2; and lines in both files. The filename `-' means the standard input.
  138. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  139. \margl40
  140. \margr40
  141. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Prints only the lines common to the two files
  142. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  143. \margl40
  144. \margr40
  145. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Prints only lines in the first file but not in the second
  146. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  147. \margl40
  148. \margr40
  149. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The first file to be checked for common lines
  150. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  151. \margl40
  152. \margr40
  153. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The second file to be checked for common lines
  154. UUUUUUUUUUU@
  155. UUUUU_
  156. uUUUUT=
  157. ]UE_/
  158. WUQ_/
  159. TqW_/
  160. UUUUUUUUUUX
  161. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  162. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  163. T_U_T_
  164. UOT_U_
  165. U_UOT_U_
  166. T_U_U_
  167. U_T_U_T_
  168. eoU_T_f_eoDO
  169. U_T_U_T_
  170. U_U_U_U_
  171. e_U_e_
  172. UOT_U_
  173. UOU_U_T_U_U_U_
  174. UOU_U_e_UOe_
  175. e_UOe_
  176. T_U_U_
  177. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  178. TOU_e_V_
  179. U_U_UO
  180. e_UOe_
  181. U_U_U_U_
  182. U_U_U_e_U_
  183. EOT_U_T_U_T_
  184. U_UOeoU_
  185. T_U_U_U_
  186. T_V_T_
  187. e_UOe_EOeo
  188. eoU_T_
  189. T_EOe_UOT_U_
  190. UOU_U_
  191. T_V_U_U_eoUO
  192. U_U_e_
  193. UOU_UOe_
  194. Uoeofoe
  195. Voeofo
  196. foeofof
  197. foeoVof
  198. VoUofo
  199. VoUoVoUoVoUo
  200. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  201. diff[1]
  202. *differential file and directory comparator
  203. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  204. \margl40
  205. \margr40
  206. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 If both arguments are directories, 
  207. \b diff
  208. \b0  sorts the contents of the directories by name, and then runs the regular file diff algorithm (described below) on text files which are different. Binary files which differ, common subdirectories, and files which appear in only one directory are listed.
  209. [12@]
  210. j{\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  211. \margl40
  212. \margr40
  213. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Long output format; each text file diff is piped through pr(1) to paginate it, other differences are remembered and summarized after all text file differences are reported
  214. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  215. \margl40
  216. \margr40
  217. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Causes application of diff recursively to common subdirectories encountered
  218. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  219. \margl40
  220. \margr40
  221. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Causes diff to report files which are the same, which are otherwise not mentioned
  222. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  223. \margl40
  224. \margr40
  225. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Produces a script of a, c and d commands for the editor ed, which will recreate file2 from file1. In connection with -e, the following shell program may help maintain multiple versions of a file. Only an ancestral file ($1) and a chain of version-to-version ed scripts ($2,$3,...) made by diff need be on hand
  226. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  227. \margl40
  228. \margr40
  229. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Produces a script similar to that of -e, not useful with ed, and in the opposite order
  230. T{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  231. \margl40
  232. \margr40
  233. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Produces a script similar to that of -e, but in the opposite order and with a count of changed lines on each insert or delete command. This is the form used by rcsdiff(1)
  234. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  235. \margl40
  236. \margr40
  237. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Produces a diff with lines of context. The default is to present 3 lines of context and may be changed, e.g to 10, by -c10. With -c the output format is modified slightly: the output beginning with identification of the files involved and their creation dates and then each change is separated by a line with a dozen *'s. The lines removed from file1 are marked with `'; those added to file2 are marked `+ '. Lines which are changed from one file to the other are marked in both files with with `! '
  238. 6{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  239. \margl40
  240. \margr40
  241. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Does a fast, half-hearted job. It works only when changed stretches are short and well separated, but does work on files of unlimited length
  242. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  243. \margl40
  244. \margr40
  245. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Causes trailing blanks (spaces and tabs) to be ignored, and other strings of blanks to compare equal
  246. 4{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  247. \margl40
  248. \margr40
  249. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Is similar to -b but causes whitespace (blanks and tabs) to be totally ignored. E.g., ``if ( a == b )'' will compare equal to ``if(a==b)''
  250. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  251. \margl40
  252. \margr40
  253. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Ignores the case of letters. E.g., ``A'' will compare equal to ``a''
  254. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  255. \margl40
  256. \margr40
  257. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Will expand tabs in output lines. Normal or -c output adds character(s) to the front of each line which may screw up the indentation of the original source lines and make the output listing difficult to interpret. This option will preserve the original source's indentation
  258. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  259. \margl40
  260. \margr40
  261. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The first directory to use for comparison
  262. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  263. \margl40
  264. \margr40
  265. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The second directory to use for comparison
  266. UUUUUUUUUUU@
  267. UUUUU_
  268. uUUUUT=
  269. ]UE_/
  270. WUQ_/
  271. TqW_/
  272. UUUUUUUUUUX
  273. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  274. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  275. T_U_T_
  276. UOT_U_
  277. U_UOT_U_
  278. T_U_U_
  279. U_T_U_T_
  280. eoU_T_f_eoDO
  281. U_T_U_T_
  282. U_U_U_U_
  283. e_U_e_
  284. UOT_U_
  285. UOU_U_T_U_U_U_
  286. UOU_U_e_UOe_
  287. e_UOe_
  288. T_U_U_
  289. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  290. TOU_e_V_
  291. U_U_UO
  292. e_UOe_
  293. U_U_U_U_
  294. U_U_U_e_U_
  295. EOT_U_T_U_T_
  296. U_UOeoU_
  297. T_U_U_U_
  298. T_V_T_
  299. e_UOe_EOeo
  300. eoU_T_
  301. T_EOe_UOT_U_
  302. UOU_U_
  303. T_V_U_U_eoUO
  304. U_U_e_
  305. UOU_UOe_
  306. Uoeofoe
  307. Voeofo
  308. foeofof
  309. foeoVof
  310. VoUofo
  311. VoUoVoUoVoUo
  312. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  313. diff[2]
  314. t{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  315. \margl40
  316. \margr40
  317. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b\i0\ulnone\fs24\fc0\cf0 diff
  318. \b0  runs the regular file diff algorithm (described below) on text files which are different. Binary files which differ, common subdirectories, and files which appear in only one directory are listed.
  319. q{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  320. \margl40
  321. \margr40
  322. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Forces diff to compare non-binary files containing characters (such as diacriticals and special symbols) that have the 8th bit on; otherwise, diff treats such files as binary and refuses to diff them
  323. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  324. \margl40
  325. \margr40
  326. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The first file to compare
  327. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  328. \margl40
  329. \margr40
  330. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The second file to compare
  331. UUUUUUUUUUU@
  332. UUUUU_
  333. uUUUUT=
  334. ]UE_/
  335. WUQ_/
  336. TqW_/
  337. UUUUUUUUUUX
  338. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  339. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  340. T_U_T_
  341. UOT_U_
  342. U_UOT_U_
  343. T_U_U_
  344. U_T_U_T_
  345. eoU_T_f_eoDO
  346. U_T_U_T_
  347. U_U_U_U_
  348. e_U_e_
  349. UOT_U_
  350. UOU_U_T_U_U_U_
  351. UOU_U_e_UOe_
  352. e_UOe_
  353. T_U_U_
  354. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  355. TOU_e_V_
  356. U_U_UO
  357. e_UOe_
  358. U_U_U_U_
  359. U_U_U_e_U_
  360. EOT_U_T_U_T_
  361. U_UOeoU_
  362. T_U_U_U_
  363. T_V_T_
  364. e_UOe_EOeo
  365. eoU_T_
  366. T_EOe_UOT_U_
  367. UOU_U_
  368. T_V_U_U_eoUO
  369. U_U_e_
  370. UOU_UOe_
  371. Uoeofoe
  372. Voeofo
  373. foeofof
  374. foeoVof
  375. VoUofo
  376. VoUoVoUoVoUo
  377. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  378. diff[3]
  379. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  380. \margl40
  381. \margr40
  382. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Causes diff to create a merged version of file1 and file2 on the standard output, with C preprocessor controls included so that a compilation of the result without defining string is equivalent to compiling file1, while defining string will yield file2
  383. string
  384. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  385. \margl40
  386. \margr40
  387. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 Defining string to yield file2
  388. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  389. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  390. T_U_T_
  391. UOT_U_
  392. U_UOT_U_
  393. T_U_U_
  394. U_T_U_T_
  395. eoU_T_f_eoDO
  396. U_T_U_T_
  397. U_U_U_U_
  398. e_U_e_
  399. UOT_U_
  400. UOU_U_T_U_U_U_
  401. UOU_U_e_UOe_
  402. e_UOe_
  403. T_U_U_
  404. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  405. TOU_e_V_
  406. U_U_UO
  407. e_UOe_
  408. U_U_U_U_
  409. U_U_U_e_U_
  410. EOT_U_T_U_T_
  411. U_UOeoU_
  412. T_U_U_U_
  413. T_V_T_
  414. e_UOe_EOeo
  415. eoU_T_
  416. T_EOe_UOT_U_
  417. UOU_U_
  418. T_V_U_U_eoUO
  419. U_U_e_
  420. UOU_UOe_
  421. Uoeofoe
  422. Voeofo
  423. foeofof
  424. foeoVof
  425. VoUofo
  426. VoUoVoUoVoUo
  427. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  428. UUUUUUUUUUU@
  429. UUUUU_
  430. uUUUUT=
  431. ]UE_/
  432. WUQ_/
  433. TqW_/
  434. UUUUUUUUUUX
  435. difftemp
  436. [15@]
  437. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  438. \margl40
  439. \margr40
  440. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Starts a directory diff in the middle beginning with file name
  441. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  442. \margl40
  443. \margr40
  444. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The file name to begin starting a directory diff
  445. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  446. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  447. T_U_T_
  448. UOT_U_
  449. U_UOT_U_
  450. T_U_U_
  451. U_T_U_T_
  452. eoU_T_f_eoDO
  453. U_T_U_T_
  454. U_U_U_U_
  455. e_U_e_
  456. UOT_U_
  457. UOU_U_T_U_U_U_
  458. UOU_U_e_UOe_
  459. e_UOe_
  460. T_U_U_
  461. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  462. TOU_e_V_
  463. U_U_UO
  464. e_UOe_
  465. U_U_U_U_
  466. U_U_U_e_U_
  467. EOT_U_T_U_T_
  468. U_UOeoU_
  469. T_U_U_U_
  470. T_V_T_
  471. e_UOe_EOeo
  472. eoU_T_
  473. T_EOe_UOT_U_
  474. UOU_U_
  475. T_V_U_U_eoUO
  476. U_U_e_
  477. UOU_UOe_
  478. Uoeofoe
  479. Voeofo
  480. foeofof
  481. foeoVof
  482. VoUofo
  483. VoUoVoUoVoUo
  484. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  485. UUUUUUUUUUU@
  486. UUUUU_
  487. uUUUUT=
  488. ]UE_/
  489. WUQ_/
  490. TqW_/
  491. UUUUUUUUUUX
  492. diff3
  493. "3-way differential file comparison
  494. s{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  495. \margl40
  496. \margr40
  497. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b\i0\ulnone\fs24\fc0\cf0 diff3
  498. \b0  compares three versions of a file, and publishes disagreeing ranges of text flagged with these codes: ==== all three files differ ====1 file1 is different ====2 file2 is different ====3 file3 is different The type of change suffered in converting a given range of a given file to some other is indicated in one of these ways: f : n1 a Text is to be appended after line number n1 in file f, where f = 1, 2, or 3. f : n1 , n2 c Text is to be changed in the range line n1 to line n2. If n1 = n2, the range may be abbreviated to n1. The original contents of the range follows immediately after a c indication. When the contents of two files are identical, the contents of the lower-numbered file is suppressed.
  499. ({\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  500. \margl40
  501. \margr40
  502. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Publishes a script for the editor ed that will incorporate into file1 all changes between file2 and file3
  503. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  504. \margl40
  505. \margr40
  506. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Produces a script to incorporate only changes flagged ==== (====3)
  507. number
  508. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  509. \margl40
  510. \margr40
  511. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Treat overlapping changes (i.e., changes that would be flagged with ==== in the normal listing) differently. The overlapping lines from both files will be inserted by the edit script, bracketed by "<<<<<<" and ">>>>>>" lines
  512. file3
  513. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  514. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  515. T_U_T_
  516. UOT_U_
  517. U_UOT_U_
  518. T_U_U_
  519. U_T_U_T_
  520. eoU_T_f_eoDO
  521. U_T_U_T_
  522. U_U_U_U_
  523. e_U_e_
  524. UOT_U_
  525. UOU_U_T_U_U_U_
  526. UOU_U_e_UOe_
  527. e_UOe_
  528. T_U_U_
  529. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  530. TOU_e_V_
  531. U_U_UO
  532. e_UOe_
  533. U_U_U_U_
  534. U_U_U_e_U_
  535. EOT_U_T_U_T_
  536. U_UOeoU_
  537. T_U_U_U_
  538. T_V_T_
  539. e_UOe_EOeo
  540. eoU_T_
  541. T_EOe_UOT_U_
  542. UOU_U_
  543. T_V_U_U_eoUO
  544. U_U_e_
  545. UOU_UOe_
  546. Uoeofoe
  547. Voeofo
  548. foeofof
  549. foeoVof
  550. VoUofo
  551. VoUoVoUoVoUo
  552. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  553. UUUUUUUUUUU@
  554. UUUUU_
  555. uUUUUT=
  556. ]UE_/
  557. WUQ_/
  558. TqW_/
  559. UUUUUUUUUUX
  560. report repeated lines in a file
  561. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  562. \margl40
  563. \margr40
  564. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b\i0\ulnone\fs24\fc0\cf0 uniq
  565. \b0  reads the input file comparing adjacent lines. In the normal case, the second and succeeding copies of repeated lines are removed; the remainder is written on the output file. Note that repeated lines must be adjacent in order to be found; see sort(1).
  566. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  567. \margl40
  568. \margr40
  569. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The lines that are not repeated in the original file are output
  570. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  571. \margl40
  572. \margr40
  573. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Specifies that one copy of just the repeated lines is to be written
  574. 8{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  575. \margl40
  576. \margr40
  577. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Supersedes -u and -d and generates an output report in default style but with each line preceded by a count of the number of times it occurred
  578. ^{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  579. \margl40
  580. \margr40
  581. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The first n fields together with any blanks before each are ignored. A field is defined as a string of non-space, non-tab characters separated by tabs and spaces from its neighbors
  582. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  583. \margl40
  584. \margr40
  585. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The number of fields together to skip
  586. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  587. \margl40
  588. \margr40
  589. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The first n characters are ignored. Fields are skipped before characters
  590. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  591. \margl40
  592. \margr40
  593. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The number of characters to skip
  594. input
  595. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  596. \margl40
  597. \margr40
  598. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The input file to compare adjacent lines from
  599. output
  600. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  601. \margl40
  602. \margr40
  603. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The file on which the remainder of the non-matched lines is written
  604. UUUUUUUUUUU@
  605. UUUUU_
  606. uUUUUT=
  607. ]UE_/
  608. WUQ_/
  609. TqW_/
  610. UUUUUUUUUUX
  611. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  612. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  613. T_U_T_
  614. UOT_U_
  615. U_UOT_U_
  616. T_U_U_
  617. U_T_U_T_
  618. eoU_T_f_eoDO
  619. U_T_U_T_
  620. U_U_U_U_
  621. e_U_e_
  622. UOT_U_
  623. UOU_U_T_U_U_U_
  624. UOU_U_e_UOe_
  625. e_UOe_
  626. T_U_U_
  627. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  628. TOU_e_V_
  629. U_U_UO
  630. e_UOe_
  631. U_U_U_U_
  632. U_U_U_e_U_
  633. EOT_U_T_U_T_
  634. U_UOeoU_
  635. T_U_U_U_
  636. T_V_T_
  637. e_UOe_EOeo
  638. eoU_T_
  639. T_EOe_UOT_U_
  640. UOU_U_
  641. T_V_U_U_eoUO
  642. U_U_e_
  643. UOU_UOe_
  644. Uoeofoe
  645. Voeofo
  646. foeofof
  647. foeoVof
  648. VoUofo
  649. VoUoVoUoVoUo
  650. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  651. compare compressed files
  652. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  653. \margl40
  654. \margr40
  655. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b\i0\ulnone\fs24\fc0\cf0 zcmp
  656. \b0  is used to invoke the cmp program on compressed files. All options specified are passed directly to cmp. If only 1 file is specified, then the files compared are file1 and an uncompressed file1.z. If two files are specified, then they are uncompressed (if ending with ".z") and fed to 
  657. \b cmp
  658. \b0 . The exit status from 
  659. \b cmp
  660. \b0  is preserved.
  661. cmp_options
  662. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  663. \margl40
  664. \margr40
  665. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Options to cmp
  666. T_U_UoU_eoU_T_U_eoU_U_U_U_U_UoU_ToUoeoU_T_U_U_U_e_U_eoE_eoU_UoU_e_U_U_U_U_U_eoU_T_U_T_U_e_
  667. U_T_U_U_U_U_U_eoU_U_U_eoU_eoEOT_U_U_U_e_U_eoU_
  668. T_U_T_
  669. UOT_U_
  670. U_UOT_U_
  671. T_U_U_
  672. U_T_U_T_
  673. eoU_T_f_eoDO
  674. U_T_U_T_
  675. U_U_U_U_
  676. e_U_e_
  677. UOT_U_
  678. UOU_U_T_U_U_U_
  679. UOU_U_e_UOe_
  680. e_UOe_
  681. T_U_U_
  682. UoEOeoV_UoU_eoU_U_U_T_U_eoU_e_EOU_V_T_UOe_
  683. TOU_e_V_
  684. U_U_UO
  685. e_UOe_
  686. U_U_U_U_
  687. U_U_U_e_U_
  688. EOT_U_T_U_T_
  689. U_UOeoU_
  690. T_U_U_U_
  691. T_V_T_
  692. e_UOe_EOeo
  693. eoU_T_
  694. T_EOe_UOT_U_
  695. UOU_U_
  696. T_V_U_U_eoUO
  697. U_U_e_
  698. UOU_UOe_
  699. Uoeofoe
  700. Voeofo
  701. foeofof
  702. foeoVof
  703. VoUofo
  704. VoUoVoUoVoUo
  705. E_U_U_U_U_UoU_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_U_V_UoE_UoU_T_U_UoU_UoU_U_E_UoE_UoE_UoV_eo
  706. UUUUUUUUUUU@
  707. UUUUU_
  708. uUUUUT=
  709. ]UE_/
  710. WUQ_/
  711. TqW_/
  712. UUUUUUUUUUX
  713. zdiff
  714. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  715. \margl40
  716. \margr40
  717. \f0\b\i0\ulnone\ql\fs24\fi0\li0\gray0\fc0\cf0\up0\dn0 zdiff
  718. \b0  is used to invoke the 
  719. \b diff
  720. \b0  program on compressed files.    All options specified are passed directly to 
  721. \b diff
  722. \b0 . If only 1 file is specified, then the files compared are file1 and an uncompressed file1.z. If two files are specified, then they are uncompressed (if ending with ".z") and fed to 
  723. \b diff
  724. \b0 .    The exit status from 
  725. \b diff
  726. \b0  is preserved.
  727.